<template>
	<view>
		<view class="content" v-html="content"></view>
	</view>
</template>

<script>
	import {
		queryAgreement
	} from '@/common/http.api.js';
	export default {
		data() {
			return {
				content:""
			};
		},
		onLoad(option) {
			console.log(option);
			queryAgreement(option.id).then(res=>{
				uni.setNavigationBarTitle({
					title:res.data.title
				})
				this.content = res.data.content
			})
		}
	}
</script>

<style lang="scss">
.content{
	padding: 20rpx;
	font-size: 30rpx;
}
</style>
